﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Printing;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
using WpfSnqkGasAnalysis.Model;

namespace WpfSnqkGasAnalysis
{
    /// <summary>
    /// 打印预览
    /// </summary>
    /// 创建时间：2022-12-12 16:01:55。作者：王浩力
    public partial class WindowProofreadPrintPreview1 : Window
    {
        public WindowProofreadPrintPreview1()
        {
            InitializeComponent();
        }
         
        /// <summary>
        /// 选中的数据
        /// </summary>
        /// 创建时间：2022-12-12 16:01:32 
        public Gas_analysis gas_Analysis = null;

        private void Button_Click(object sender, RoutedEventArgs e)
        {
            //PrintDialog p = new PrintDialog();
            //直接打印Canvas里面的内容，第二个参数为打印的文档名称
            //p.PrintVisual(previewPrint, "测试");
        }
    }
}
